package multiThreading.producerConsumerSimple;



public class Consumer implements Runnable {
	private Buffer buffer ;
	Consumer(Buffer b){
		buffer =b;
	}
	
	@Override
	public void run() {
		int i =0;
		while(i++<50){
			buffer.remove();
		}
	}
	

}
